/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.dao;

import java.util.List;
import java.util.Map;
import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.sys.entity.Goods;
import com.yuhanginfo.modules.sys.entity.GoodsCombo;

/**
 * 平台商品信息管理DAO接口
 * @author yinhao
 * @version 2017-09-11
 */
@MyBatisDao
public interface GoodsDao extends CrudDao<Goods> {
		public int findMaxCode();
		
		public List<Goods> findListBySysUser(Goods goods);
		
		public List<Goods> findExamineList(Goods goods);
		
		public List<Goods> findStoreUpDownList(Goods goods);
		
		public List<Goods> findStoreStockList(Goods goods);
		
		public List<Goods> findHistoryStockList(Goods goods);

		public List<Goods> selectByStoreCode(String id);

		public List<Goods> selectByStoreCodes(String id);

		public List<Goods> selectPageGoodsByMateriel(Goods goods);

		public List<Goods> selectGoodsByIds(String[] checkedGoods);

		public List<Goods> selectByGoodsCombo(GoodsCombo goodsCombo);

		public List<Goods> selectGoodsByStoreCode(String storeCode);

		public List<Goods> replaceOrder(Goods goods1);
		
		public Goods getGoodsByCode(Map<String,String> params);
		
		public List<Goods> findExportList(Goods goods);
}